package com.xgh.design.decorated;

/**
 * @ClassName ShapeDecorator
 * @Description
 * @Author xinggh
 * @Date 2020/8/6 19:42
 * @Version 1.0
 **/
public class ShapeDecorator implements Shape {

    Shape shape;

    public ShapeDecorator(Shape shape) {
        this.shape = shape;
    }

    @Override
    public void draw() {
        shape.draw();
    }
}
